<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>用户注册</title>
    <link rel="stylesheet" href="/css/bootstrap.css" th:href="@{/css/bootstrap.css}"/>
</head>
<body class="container">
<br/>
<h1>用户注册</h1>
<br/><br/>
<div class="with:80%">
    <form class="form-horizontal"   th:action="@{/user/addUser}"  method="post">

        <div class="form-group">
            <label for="username" class="col-sm-2 control-label" >用户名</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="username" id="username" placeholder="Username"/>
            </div>
        </div>

        <div class="form-group">
            <label for="password" class="col-sm-2 control-label" >用户密码</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="password" id="password" placeholder="Password"/>
            </div>
        </div>

        <div class="form-group">
            <label for="phone" class="col-sm-2 control-label" >用户电话</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="phone" id="phone" placeholder="Phone"/>
            </div>
        </div>

        <div class="form-group">
            <label for="sex" class="col-sm-2 control-label" >用户性别</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="sex" id="sex" placeholder="Sex"/>
            </div>
        </div>

        <div class="form-group">
            <label for="mail" class="col-sm-2 control-label" >用户性别</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="mail" id="mail" placeholder="Mail"/>
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" value="提交" class="btn btn-info" />
                &nbsp; &nbsp; &nbsp;
                <input type="reset" value="重置" class="btn btn-info" />

            </div>

        </div>
    </form>
</div>
</body>
</html>
